#!/usr/bin/perl

open TAGS, "flickr_most_popular_tags" or die;
while (<TAGS>) {
    chomp;
    $path = "thumbnails_pgm_sift/$_";
    foreach (1...20) {
        system("/home/chaojiansong/tunes-hunter/third_party/siftpp/sift $path/$_.pgm ");
    }
}
